package com.aerotechnic.dao.interfaces;

import java.util.List;

import com.aerotechnic.entities.JalonBiblio;
import com.aerotechnic.entities.MacroTache;
import com.aerotechnic.entities.User;

public interface JalonBiblioDaoIn {
	void save(JalonBiblio myEntity);//before inserting make sure that the id is not duplicated if it's not save the object and return true otherwise restrict saving and return false
    
    void update(JalonBiblio myEntity);
    
    void delete(Long id);

    JalonBiblio findByID(Long id);
    
    List<JalonBiblio> findAll();
    
    List<JalonBiblio> find(int startIndex, int pageSize);
    
    int countAllJalon();
    
    List<JalonBiblio> getJalonBiblioByIds(String [] ids);

}
